package com.cn.designpatterns.ex.concrete.backup;

/**
 * @author: zhangyi
 * @date: 2019/1/9 17:28
 * @description:
 */
public class Storage {

    private Memento memento;

    public Memento getMemento() {
        return memento;
    }

    public void setMemento(Memento memento) {
        this.memento = memento;
    }

    public Storage(Memento memento) {
        this.memento = memento;
    }
}
